<template>
<!-- 人员排班 -->
  <div class="box">
    <dv-scroll-board :config="config" style="width: 100%; height: 100%" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      config: {
        header: ["日期", "姓名", "班次"],
        data: [
          ["2024/7/29", "张三", "一"],
          ["2024/7/29", "李四", "二"],
          ["2024/7/29", "王五", "三"],
          ["2024/7/30", "赵六", "二"],
          ["2024/7/30", "张三", "休息"],
          ["2024/7/30", "李四", "加班"],
          ["2024/7/30", "小白", "一"],
          ["2024/7/30", "小黑", "三"],
          ["2024/8/1", "张三", "一"],
          ["2024/8/1", "李四", "二"],
          ["2024/8/1", "王五", "三"],
          ["2024/8/2", "赵六", "二"],
          ["2024/8/3", "张三", "休息"],
          ["2024/8/4", "李四", "加班"],
          ["2024/8/3", "小白", "一"],
          ["2024/8/4", "小黑", "三"],
        ],
      },
    };
  },
};
</script>

<style lang="less" scoped>
.box{
    width: 100%;
    height: 100%;
}
</style>
